import request from '@/utils/request'
import apis from './'

export function getAllVideo (parameter) {
  return request({
    url: apis.AllVideo,
    method: 'get',
    params: parameter
  })
}

export function logsList (parameter) {
  return request({
    url: apis.LogsList,
    method: 'get',
    params: parameter
  })
}

export function getLatelyVideo (parameter) {
  return request({
    url: apis.LatelyVideo,
    method: 'get',
    params: parameter
  })
}

export function vestigeList (parameter) {
  return request({
    url: apis.VestigeList,
    method: 'get',
    params: parameter
  })
}

export function getClass () {
  return request({
    url: apis.VideoClassList,
    method: 'get'
  })
}

export function getVideoList (parameter) {
  return request({
    url: apis.VideoList,
    method: 'get',
    params: parameter
  })
}
